home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / BIRTHSRC.ZIP / README.1ST < prev    next >
Encoding:
Text File  |  1993-11-23  |  2.7 KB  |  65 lines

  1. Yes, there is hope for all you Demo-code seeking people. I decided to 
  2. let go of some of my source code. Well, to make nobody angry, some of
  3. the code was inspired by FC's 'Mental Surgery' and Abrash's ModeX articles
  4. (cool stuff!) 
  5. In this little demo... mmh, actually it's not a demo, but a small electronic 
  6. 'Birthday Card' which I wrote for a friend a few weeks ago (cheap B-card 
  7. and I learned a lot!-) there's a sphere thingy and the words 
  8. 'Happy Birthday' (creative, eh?) transforming back and forth and flying
  9. through space. Kinda hard to describe - just DL it and take a look!
  10. Here are some of the things you'll find (somewhere) in the code.
  11.  
  12.    -Sets ModeX without using int10h 
  13.       (pretty smooth transition from text to ModeX, but doesn't
  14.        seem to work for some of my SVGA modes to ModeX ;-(
  15.    -Gets you back to the mode you started from (using int10h.)
  16.       (again a pretty smooth ride)
  17.    -Misc ModeX stuff
  18.       - SetPixel, GetPixel,...?
  19.  
  20.    -Fixed Point Math (16.16)
  21.       -Square Root (woah!), Cos, Sin, *, /
  22.       -XYZ-Rotations, 3to2D
  23.  
  24.    -Pseudo Random Number Generator 
  25.       (Knuth's random num. alg. - can't do without good old Knuth 
  26.        these days...)
  27.  
  28.    -Keyboard and Timer interrupt stuff
  29.       (Synchronizes timer with VR)
  30.  
  31.    -Misc 3D stuff
  32.  
  33. what you won't find:
  34.    Music - For the origial prog I used a stripped down version of
  35.        the VT player. But since this isn't MY code I didn't include 
  36.        it, and, of course, now there is VTDemo. So, if you want 
  37.        music, then VTDemo is the way to go...
  38.  
  39.   Lot's of comments - I comment my code only if I get paid for it! 
  40.        (not entirely correct but a good rule of thumb)
  41.        I put some extra comments here and there, where I thought
  42.        it might help and because I'm a nice person (most of the
  43.        time anyway ;-) Just be happy with what's there.
  44.  
  45. Two simple reasons why I released the code. 
  46. One: I consider what I released to be pretty much elementary stuff. 
  47. That is, this should give newcomers something to get started.
  48. Two: I can't stand seeing those pascal-only demos that barely get
  49. 2 fps on my 486/33. So, hopefully this will help to get you(?) going in
  50. assembler...
  51.  
  52. All you need to run the prog. is a 386, the faster the better of course.
  53. If the prog doesn't run, dig a hole in the ground and bury your computer
  54. ...alternatively you could send me Email. Tell me if you find a bug or
  55. have an improvement.
  56.  
  57. Last but not least, let's call this 'GreetWare' - Greet me in your 
  58. program if you use any of the code. (If you don't, I'll eat you 
  59. alive q;'(
  60.  
  61. That's it, this message is getting too long - Enjoy, and be CREATiVE!
  62.  
  63. -=* SliQ *=-                                         fbecker@newsol.uvic.ca
  64.  
  65.